package FuenteDeDatos;
 import java.awt.Image;
 import java.beans.*;

public class DataComboboxBeanInfo extends SimpleBeanInfo{



  Image icon;
    Image icon32;
     Image iconM;
    Image icon32M;

     public DataComboboxBeanInfo(){
        icon = loadImage("/ico/mdc.png");
        icon32 = loadImage("/ico/dc.png");
       iconM = loadImage("/ico/mdc.png");
         icon32M = loadImage("/ico/dc.png");
    }

@Override

     public Image getIcon(int i){
        switch(i)
         {
        case 1:
            return icon;

        case 2:
            return icon32;

        case 3:
             return iconM;

       case 4:
            return icon32M;
        }
        return null;
    }
 }

